﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WCollection
{
    /// <summary>
    /// WCollection 中的消息
    /// </summary>
    public class WMessage
    {
        
        public MessageContext Context
        {
            get;
            private set;
        }

        public Guid MessageTypeId
        {
            get;
            set;
        }

        public Guid Id
        {
            get;
            private set;
        }

        public WMessage(Guid msgTypeId)
        {
            Context = new MessageContext();
            Id = Guid.NewGuid();
        }
    }
}
